#include <stdio.h>
#include <stdlib.h>
#include "list.h" // 请不要删除，否则检查不通过

void lnk_del_x2y(LinkList L, ElemType mink, ElemType maxk) {
     LinkList pre=L;
     while(pre->next!=NULL){
         if(pre->next->data>mink&&pre->next->data<maxk){
             LinkList t=pre->next;
             pre->next=t->next;
             free(t);
         }else{
             pre=pre->next;
         }
     }
}